import request from '@/utils/request'

/**
 * Logo需求提交分页查询
 * @param {查询条件} data
 */
export function getCustomerFeedbackWithPage(params) {
  return request({
    url: 'business/CustomerFeedback/getCustomerFeedbackWithPage',
    method: 'get',
    params
  })
}

export const addCustomerFeedback = (data) => {
  return request({
    url: 'business/CustomerFeedback/addCustomerFeedback',
    method: 'post',
    data
  })
}

export const updateCustomerFeedback = (data) => {
  return request({
    url: 'business/CustomerFeedback/updateCustomerFeedback',
    method: 'PUT',
    data
  })
}

export const deleteCustomerFeedback = (id) => {
  return request({
    url: 'business/CustomerFeedback/deleteCustomerFeedback/' + id,
    method: 'delete'
  })
}
